<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link href="/easyhtml/Public/bootstrap2.3.2/css/bootstrap.min.css" rel="stylesheet" />
    <title></title>
    <link href="/easyhtml/Public/css/Common.css" rel="stylesheet" />
    <link href="/easyhtml/Public/css/Index2.css" rel="stylesheet" />
    <script type="text/javascript" charset="utf-8" src="/easyhtml/Public/neweditor/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="/easyhtml/Public/neweditor/ueditor.all.min.js"> </script>
       <!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
       <!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
    <script type="text/javascript" charset="utf-8" src="/easyhtml/Public/neweditor/lang/zh-cn/zh-cn.js"></script>
</head>
<body>

<style type="text/css">
    .control-group{
        float: left;
        width: 50%;
    }
</style>
<div class="container-fluid" >
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
        <h3 id="myModalLabel">video设置</h3>
    </div>
    <div class="modal-body" style="max-height:600px;">
        <form action="<?php echo U('Show/video');?>" class="form-horizontal" method="post" enctype="multipart/form-data">

            <div ><p style="color:red;">图片推荐尺寸：700X440</p></div>
            <div class="control-group img">
                <div class="controls">
                    <span>视频封面图片：</span>
                    <input type="file" name="videoimgurl" ><br>
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">视频封面图片预览：</label>
                <div class="controls">
                    <img src="/easyhtml/Public/<?php echo ($data["videoimgurl"]); ?>" style="width:200px;height:80px;">
                </div>
                <hr />
            </div>

            <div class="control-group img" style="margin-left: 180px;">
                <span>视频标题：</span>
                <input type="text" name="videotitle" value="<?php echo ($data["videotitle"]); ?>">
            </div>

            <div class="control-group img" style="margin-left: 180px;">
                <span>视频地址流：</span>
                <input type="text" name="videodataurl" value="<?php echo ($data["videodataurl"]); ?>">
            </div>

            <div class="control-group" style="margin-left: 180px;">
                <span>是否播放背景音乐：</span>
                <input type="radio" value="1" name="isplayradio" <?php if($data["isplayradio"] == 1): ?>checked<?php endif; ?> >是
                <input type="radio" value="0" name="isplayradio" <?php if($data["isplayradio"] == 0): ?>checked<?php endif; ?>>否
            </div>

            <div class="control-group" style="margin-left: 180px;">
                <span>是否播放视频：</span>
                <input type="radio" value="1" name="isplayvideo" <?php if($data["isplayvideo"] == 1): ?>checked<?php endif; ?> >是
                <input type="radio" value="0" name="isplayvideo" <?php if($data["isplayvideo"] == 0): ?>checked<?php endif; ?>>否
            </div>


        </form>
    </div>
    <div class="modal-footer">
        <button class="btn" onclick='history.go(-1)'>返回</button>
        <button class="btn btn-primary" id="add" onclick="add();">提交</button>
    </div>
</div>

	<script src="/easyhtml/Public/js/jquery-1.9.1.min.js"></script>
    <script src="/easyhtml/Public/bootstrap2.3.2/js/bootstrap.min.js"></script>
    <script src="/easyhtml/Public/layer-v2.3/layer/layer.js"></script>
    <script src="/easyhtml/Public/js/Index2.js"></script>
</body>
</html>